[gd_scene load_steps=9 format=2]

[ext_resource path="res://src/actors/player/Player.gd" type="Script" id=1]
[ext_resource path="res://src/actors/character/Character.tscn" type="PackedScene" id=2]
[ext_resource path="res://src/interface/inventory/EquipmentWindow.tscn" type="PackedScene" id=3]
[ext_resource path="res://src/inventory/InventoryComponent.tscn" type="PackedScene" id=4]
[ext_resource path="res://src/inventory/EquipmentComponent.tscn" type="PackedScene" id=5]

[sub_resource type="AnimationNodeStateMachinePlayback" id=1]

[sub_resource type="CircleShape2D" id=2]
radius = 42.7334

[sub_resource type="CapsuleShape2D" id=3]
radius = 31.3916
height = 349.507

[node name="Player" groups=[
"Player",
] instance=ExtResource( 2 )]
script = ExtResource( 1 )
weapon_path = "res://src/actors/character/Longsword.tscn"

[node name="InventoryComponent" parent="." index="3" groups=[
"PlayerInventory",
] instance=ExtResource( 4 )]
inv_name = "PlayerInventory"
inv_slots = 28

[node name="Equipment" parent="." index="4" groups=[
"Equipment",
] instance=ExtResource( 5 )]
inv_name = "Equipment2"
equipment_categories = [ "Weapon", "Ring" ]
window_scene = ExtResource( 3 )

[node name="CollisionShape2D" parent="." index="5"]
disabled = true

[node name="AnimationTree" parent="." index="7"]
parameters/playback = SubResource( 1 )

[node name="CollisionShape2D" parent="Attack" index="0"]
position = Vector2( 53.875, 0 )
shape = SubResource( 2 )

[node name="CollisionShape2D" parent="RangedAttack" index="0"]
position = Vector2( 215.862, 0 )
rotation = 1.5708
shape = SubResource( 3 )

[editable path="Attack"]

[editable path="RangedAttack"]
